//
//  NSObject+HDCommunityManager.h
//  app
//
//  Created by D on 15/8/20.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HDCommunityResult.h"

@interface  HDCommunityManager : NSObject

+(HDCommunityManager*)shareManager;

-(void)loadCommunityData:(HDCommunityResult*)result Refresh:(NSString*)refresh;

-(void)chooseCommunity:(HDCommunityResult*)result Params:(NSDictionary*)params Com:(NSString*)community;

-(BOOL)shouldRefreshCommunityData;

- (BOOL)fmdbIncludeCommunity;

- (BOOL)fmdbIncludeCommunityData;

-(void)updataAndDeleteToCommunityDB:(NSString*)houseId;

- (NSMutableArray *)arrayFromFmdb;

@end
